PUT
/
public
/
v1
/
segment-service
/
segments
curl --request PUT \
  --url https://api.topsort.com/public/v1/segment-service/segments \
  --header 'Content-Type: application/json' \
  --data '{
  "segments": [
    {
      "description": "<string>",
      "id": "<string>",
      "name": "<string>"
    }
  ]
}'
{
  "segments": [
    {
      "description": "<string>",
      "id": "<string>",
      "name": "<string>",
      "total": 123
    }
  ]
}

Body

application/json
segments
object[]
required

List of segments to update.

Response

200
application/json
Successful Response
segments
object[]
required

List of segments.